package org.gavin.core.entity;

import org.gavin.core.domain.ExpireCache;

/**
 * AutoExpire
 *
 * @author grl
 * @date 2024/1/29
 */
public class AutoExpire<T> implements ExpireCache {

    private T data;

    private Long expireTime;

    @Override
    public Long getExpireTime() {
        return this.expireTime;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }
}
